/**
 * 
 */
package service.resources;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import data.DaoFactory.DaoName;

/**
 * The DAO resource.
 * 
 * @author chuxiaoyuan
 *
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Dao {
	
	/**
	 * DAO name.
	 * @return the registered DAO name.
	 */
	DaoName name();
}
